package com.shangye.shop.service;

import com.shangye.shop.dto.ImageHolder;
import com.shangye.shop.dto.ShopExecution;
import com.shangye.shop.entity.Shop;
import com.shangye.shop.exceptions.ShopOperationException;

import java.io.InputStream;

public interface ShopService {
    ShopExecution addShop(Shop shop, ImageHolder thumbnail);

    Shop getByShopId(long id);

    ShopExecution modifyShop(Shop shop, ImageHolder thumbnail) throws ShopOperationException;

    ShopExecution getShopList(Shop shopCondition, int pageIndex, int PageSize);
}
